
import EchartsMain from "@/components/common/EchartsMain"
import ItemMoudle from "@/components/common/ItemModule"
import TitleMain from "@/components/common/TitleMain"
import * as echarts from 'echarts/core';
const CheckTrends = () => {
  return <ItemMoudle
    className="w-[384px]"
    childClassName="h-[228px] flex items-center justify-between"
    header={
      <TitleMain title="APP检查趋势" />
    }
  >
   <EchartsMain option={{
      series: [
        {
          data: [1, 2, 34, 5, 6, 7, 8, 9, 0, 67],
          type: 'line',
          symbol: 'triangle', // 设置数据点的形状为三角形
          symbolSize: 1, // 设置数据点的大小
          areaStyle: {
            color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
              {
                offset: 0,
                color: 'rgba(24, 144, 255, 0.4)'
              },
              {
                offset: 1,
                color: 'rgba(24, 144, 255, 0)'
              }
            ])
          },
        }
      ]
    }} />



  </ItemMoudle>
}

export default CheckTrends